package org.balabala.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 
 * 
 * @author hanshanxi
 * @email 3176988793@qq.com
 * @date 2021-09-04 09:31:53
 */
@Data
@TableName("follow_info")
public class FollowInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(value = "follow_id",type = IdType.INPUT)
	private Long followId;
	/**
	 * 粉丝账号
	 */
	private Long fanId;
	/**
	 * 被关注的人的账号
	 */
	private Long followedId;
	/**
	 * 关注时间
	 */
	private Date followTime;
	/**
	 * 是否取消关注
	 */
	private Integer isCancel;

//	@TableField(exist = false)
//    private VideoEntity videoEntity;

	@TableField(exist = false)
    private List<FollowInfoEntity> lists;

}
